package org.scirp.ijmis.service.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.common.IGenderDAO;
import org.scirp.ijmis.po.common.Gender;
import org.scirp.ijmis.service.common.IGenderService;

public class GenderServiceImpl implements IGenderService {

	private IGenderDAO genderDAO;

	public IGenderDAO getGenderDAO() {
		return genderDAO;
	}

	public void setGenderDAO(IGenderDAO genderDAO) {
		this.genderDAO = genderDAO;
	}

	public List<Gender> selectAll() {

		return this.genderDAO.selectAll();
	}

	public Gender selectById(Object id) {
		return this.genderDAO.selectById(id);
	}

}
